package com.yike.product.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.yike.common.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import com.yike.common.api.Update;

/**
 * 商品单位
 *
 * @author Sakura
 * @since 2024-10-18
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@TableName("qy_goods_unit")
@ApiModel(value = "GoodsUnit对象")
public class GoodsUnit extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("单位名称")
    private String name;

    @ApiModelProperty("是否展示：1展示 0不展示")
    private Boolean displayed;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("描述")
    private String description;

}
